|
eeprom15 2.2.1
|
This file contains API for EEPROM 15 Click Driver. More...
#include "drv_digital_out.h"#include "drv_digital_in.h"#include "drv_i2c_master.h"Go to the source code of this file.
Data Structures | |
| struct | eeprom15_t |
| EEPROM 15 Click context object. More... | |
| struct | eeprom15_cfg_t |
| EEPROM 15 Click configuration object. More... | |
Enumerations | |
| enum | eeprom15_return_value_t { EEPROM15_OK = 0 , EEPROM15_ERROR = -1 } |
| EEPROM 15 Click return value data. More... | |
Functions | |
| void | eeprom15_cfg_setup (eeprom15_cfg_t *cfg) |
| EEPROM 15 configuration object setup function. | |
| err_t | eeprom15_init (eeprom15_t *ctx, eeprom15_cfg_t *cfg) |
| EEPROM 15 initialization function. | |
| err_t | eeprom15_write_memory (eeprom15_t *ctx, uint8_t address, uint8_t *data_in, uint8_t len) |
| EEPROM 15 Write Memory function. | |
| err_t | eeprom15_read_memory (eeprom15_t *ctx, uint8_t address, uint8_t *data_out, uint16_t len) |
| EEPROM 15 Read Memory function. | |
| void | eeprom15_set_wp_pin (eeprom15_t *ctx, uint8_t state) |
| EEPROM 15 Set Write Protection Pin function. | |
| err_t | eeprom15_select_bank (eeprom15_t *ctx, uint8_t bank_sel) |
| EEPROM 15 Select Memory Bank function. | |
| err_t | eeprom15_set_wp_block (eeprom15_t *ctx, uint8_t block_num) |
| EEPROM 15 Set Write Protection Block function. | |
| err_t | eeprom15_clear_wp (eeprom15_t *ctx) |
| EEPROM 15 Clear Write Protection function. | |
This file contains API for EEPROM 15 Click Driver.